package io.renren.modules.sys.entity;

import io.renren.common.enums.*;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author wangyi
 * @email 794651397@qq.com
 * @date 2018-02-24 10:46:32
 */
public class SongsetEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//id
	private Long id;
	//名称
	private String name;
	//简介
	private String introduce;
	//上传者姓名
	private String uploadUser;
	//上架时间
	private Date releaseTime;
	//图片
	private String img;
	//难度
	private Integer hard;
    private String hardName;
	//风格
	private Integer style;
    private String styleName;
	//人群
	private Integer person;
    private String personName;
	//场景
	private Integer scene;
    private String sceneName;
	//教材
	private Integer teaching;
    private String teachingName;
	//
	private Date createTime;
	//
	private Date updateTime;

	private Integer sort;

	private String subhead;

	private String author;

	public String getSubhead() {
		return subhead;
	}

	public void setSubhead(String subhead) {
		this.subhead = subhead;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    /**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：简介
	 */
	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	/**
	 * 获取：简介
	 */
	public String getIntroduce() {
		return introduce;
	}
	/**
	 * 设置：上传者姓名
	 */
	public void setUploadUser(String uploadUser) {
		this.uploadUser = uploadUser;
	}
	/**
	 * 获取：上传者姓名
	 */
	public String getUploadUser() {
		return uploadUser;
	}
	/**
	 * 设置：上架时间
	 */
	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}
	/**
	 * 获取：上架时间
	 */
	public Date getReleaseTime() {
		return releaseTime;
	}
	/**
	 * 设置：图片
	 */
	public void setImg(String img) {
		this.img = img;
	}
	/**
	 * 获取：图片
	 */
	public String getImg() {
		return img;
	}
	/**
	 * 设置：难度
	 */
	public void setHard(Integer hard) {
		this.hard = hard;
	}
	/**
	 * 获取：难度
	 */
	public Integer getHard() {
		return hard;
	}
	/**
	 * 设置：风格
	 */
	public void setStyle(Integer style) {
		this.style = style;
	}
	/**
	 * 获取：风格
	 */
	public Integer getStyle() {
		return style;
	}
	/**
	 * 设置：人群
	 */
	public void setPerson(Integer person) {
		this.person = person;
	}
	/**
	 * 获取：人群
	 */
	public Integer getPerson() {
		return person;
	}
	/**
	 * 设置：场景
	 */
	public void setScene(Integer scene) {
		this.scene = scene;
	}
	/**
	 * 获取：场景
	 */
	public Integer getScene() {
		return scene;
	}
	/**
	 * 设置：教材
	 */
	public void setTeaching(Integer teaching) {
		this.teaching = teaching;
	}
	/**
	 * 获取：教材
	 */
	public Integer getTeaching() {
		return teaching;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

    public String getHardName() {
        return Hard.getNameByValue(hard);
    }

    public void setHardName(String hardName) {
        this.hardName = hardName;
    }

    public String getStyleName() {
        return Style.getNameByValue(style);
    }

    public void setStyleName(String styleName) {
        this.styleName = styleName;
    }

    public String getPersonName() {
        return Person.getNameByValue(person);
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getSceneName() {
        return Scene.getNameByValue(scene);
    }

    public void setSceneName(String sceneName) {
        this.sceneName = sceneName;
    }

    public String getTeachingName() {
        return Teaching.getNameByValue(teaching);
    }

    public void setTeachingName(String teachingName) {
        this.teachingName = teachingName;
    }
}
